package com.rbac.common.exception;

import lombok.Getter;

@Getter
public class AuthException extends RuntimeException {
    
    private Integer code;
    
    public AuthException(String message) {
        super(message);
        this.code = 403;
    }
    
    public AuthException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}